﻿using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Database.Models
{
    [Table("HangSanXuat")]
    public class HangSanXuat : BaseModel
    {
        public int Id { get; set; }

        [Required]
        [MaxLength(255)]
        public string Ten { get; set; }

        public ICollection<HangMuc> HangMucs { get; set; }
    }
}
